package com.gitee.wsl.common.svg.gradient

import com.gitee.wsl.common.svg.attributes.AttributeType
import com.gitee.wsl.common.svg.attributes.FloatAttributeProperty

class RadialGradient(validation: Boolean = false) :BaseGradient("radialGradient",validation) {
    /**
     * The x coordinate of the circle's center.
     */
    var cx: Float? by FloatAttributeProperty(type = AttributeType.Length)

    /**
     * The r coordinate of the circle's center.
     */
    var cy: Float? by FloatAttributeProperty(type = AttributeType.Length)

    /**
     * The radius or the circle.
     */
    var r: Float? by FloatAttributeProperty(type = AttributeType.Length)

    /**
     * inner circle centerX
     */
    var fx : Float? by FloatAttributeProperty(type = AttributeType.Length)

    /**
     * inner circle centerY
     */
    var fy : Float? by FloatAttributeProperty(type = AttributeType.Length)

    /**
     * inner circle radius
     *
     * @since 0.0.2
     */
    var fr : Float? by FloatAttributeProperty(type = AttributeType.Length)
}